package com.huya.k12.translate.model.vo;

import java.util.List;
import java.util.Map;

public class WordVo {
	
	/**
	 * 单词对应的键
	 */
	private String wordId;
	
	/**
	 * 单词所在的文件名
	 */
	private String fileName;
	
	/**
	 * 单词的各种语言
	 */
	private Map<String,String>language;

	
	public String getWordId() {
		return wordId;
	}

	public void setWordId(String wordId) {
		this.wordId = wordId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Map<String, String> getLanguage() {
		return language;
	}

	public void setLanguage(Map<String, String> language) {
		this.language = language;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		StringBuilder sb = new StringBuilder();
		sb.append("key:"+getWordId()).append(",");
		sb.append("fileName:"+getFileName()).append(",");
		sb.append("language:{");
		for(String key:getLanguage().keySet()){
			sb.append(key).append(":").append(getLanguage().get(key)).append(" ");
		}
		sb.append("}");
		return sb.toString();
	}
	
	
	
	

}
